<?php
declare (strict_types = 1);

namespace app\admin\model;

use thinkless\common\BaseModel;
use security\GrantedAuthority;

/**
 * @Table tl_admin_role
 * @Comment 系统管理员角色
 */
class AdminRoleModel extends BaseModel implements GrantedAuthority {

    public function getAuthority(): string {
        return $this['name'];
    }
}
